<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      div {
        width: 800px;
        height: 500px;
        border: 1px solid #000;
        margin: 50px auto;
        /* background-image: radial-gradient(
          circle farthest-corner at 30% 70%,
          blue,
          yellow,
          green
        ); */

        background-image: repeating-radial-gradient(
          circle closest-side,
          red 0%,
          red 10%,
          white 10%,
          white 20%
        );
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>

<!-- 
  径向渐变：从一个点向四周的渐变
    radial-gradient(形状 大小 at 圆心, color1, color2...)

    形状: circle 圆
          ellipse 椭圆 默认值

    大小：closest-side  最近边
          farthest-side  最远边
          closest-corner  最近角
          farthest-corner  最远角

    圆心就是水平和垂直坐标


    不均匀渐变
      radial-gradient(形状 大小 at 圆心, color1 0%, color2 50%, color3 100%)

    重复渐变
      repeating-radial-gradient(形状 大小 at 圆心, color1 0%, color2 50%, color3 100%)
 -->
